<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ page import="util.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	<%
		String key = "046809144032NqvcGtfF";

		String p1_yingyongnum = request.getParameter("p1_yingyongnum");

		String p2_ordernumber = request.getParameter("p2_ordernumber");

		String p3_money = request.getParameter("p3_money");

		String p4_zfstate = request.getParameter("p4_zfstate");

		String p5_orderid = request.getParameter("p5_orderid");

		String p6_productcode = request.getParameter("p6_productcode");

		String p7_bank_card_code = request.getParameter("p7_bank_card_code");

		String p8_charset = request.getParameter("p8_charset");

		String p9_signtype = request.getParameter("p9_signtype");

		String p10_sign = request.getParameter("p10_sign");

		String p11_pdesc = request.getParameter("p11_pdesc");

		String str = MD5Tool.encoding(p1_yingyongnum + "&" + p2_ordernumber + "&" + p3_money + "&" + p4_zfstate
				+ "&" + p5_orderid + "&" + p6_productcode + "&" + p7_bank_card_code + "&" + p8_charset + "&"
				+ p9_signtype + "&" + p11_pdesc + "&" + key);

		if (str.equals(p10_sign)) {
			out.write("success");
		} else {
			out.write("fail");
		}
	%>


</body>
</html>